




$(function() {
  $(window).scroll(function() {
  //获取垂直滚动的距离
    var scrollTop = $(document).scrollTop();
   
    var ScrollBottom = $(document).height() - $(window).height()-$(window).scrollTop();
    if (ScrollBottom >100 && scrollTop>400) {
      $("#outer").css({"top":"0","position":"fixed"});
    }else {
    $("#outer").css({"top":"inherit","position":"absolute"});
      } 
    });	
	
$(".contentone").click(function(){
		$(".edu").css("display","block");
		$(".signup").css("display","none");
	});
	
$(".contenttwo").click(function(){
		$(".edu").css("display","none");
		$(".signup").css("display","block");
	});
	
  });

  
  
	
	
	
